package com.spddr.pmos.domain;

public enum Metrics {
	I("electric.current", "电流"),
	U("electric.voltage", "电压"),
	HZ("electric.frequency", "频率"),

	P("power.active", "有功功率"),
	P_POS("power.active.positive", "正向有功功率"),
	P_REV("power.active.reverse", "反向有功功率"),
	Q("power.reactive", "无功功率"),
	Q_POS("power.reactive.positive", "正向无功功率"),
	Q_REV("power.reactive.reverse", "反向无功功率"),
	S("power.apparent", "视在功率"),
	PF("power.factor", "功率因数"),

	E_P("energy.active", "有功电量"),
	E_P_POS("energy.active.positive", "正向有功电量"),
	E_P_REV("energy.active.reverse", "反向有功电量"),
	E_Q("energy.reactive", "无功电量"),
	E_Q_POS("energy.reactive.positive", "正向无功电量"),
	E_Q_REV("energy.reactive.reverse", "反向无功电量"),
	E_S("energy.apparent", "视在电量"),

	ENERGY("finance.energy", "电量"),
	PRICE("finance.price", "电价"),
	FEE("finance.fee", "电费"),

	P_GEN("power.gen", "发电负荷"),
	P_NET("power.net", "上网负荷"),
	P_CONTRACT("power.branch.contract", "合同负荷"),
	P_EXCHANGE("power.branch.exchange", "置换负荷"),
	P_CUSTOMER("power.branch.customer", "直供负荷"),
	P_OUTSIDE("power.branch.outside", "外送负荷"),
	P_REPLACE("power.branch.replace", "替代负荷"),
	P_BIDDING("power.branch.bidding", "竞价负荷"),
	P_OTHER("power.branch.other", "其它负荷"),

	E_GEN("energy.gen", "发电电量"),
	E_NET("energy.net", "上网电量"),
	E_CONTRACT("energy.branch.contract", "合同电量"),
	E_EXCHANGE("energy.branch.exchange", "置换电量"),
	E_CUSTOMER("energy.branch.customer", "直供电量"),
	E_OUTSIDE("energy.branch.outside", "外送电量"),
	E_REPLACE("energy.branch.replace", "替代电量"),
	E_BIDDING("energy.branch.bidding", "竞价电量"),
	E_OTHER("energy.branch.other", "其它电量"),
	E_LOSS("energy.loss", "损失电量"),
	E_LOSS_NET("energy.loss.net", "线损电量"),
	E_LOSS_SELF("energy.loss.self", "厂用电量"),
	E_LOSS_USELESS("energy.loss.useless", "弃水损失电量"),
	E_LOSS_USELESS_SHIFT("energy.loss.useless.shift", "调峰弃水损失电量"),

	ALTITUDE("reservoir.altitude", "水位"),
	ALTITUDE_UPSTREAM("reservoir.altitude.upstream", "上游水位"),
	ALTITUDE_DOWNSTREAM("reservoir.altitude.downstream", "下游水位"),
	FLOW_IN("reservoir.flow.in", "入库流量"),
	FLOW_IN_AVG("reservoir.flow.in.avg", "平均入库流量"),
	FLOW_IN_MAX("reservoir.flow.in.max", "最大入库流量"),
	FLOW_IN_MIN("reservoir.flow.in.min", "最小入库流量"),
	FLOW_OUT("reservoir.flow.out", "出库流量"),
	FLOW_OUT_USEFUL("reservoir.flow.out.useful", "发电流量"),
	FLOW_OUT_USELESS("reservoir.flow.out.useless", "遗弃流量"),

	TEMPERATURE("env.temperature", "温度"),
	HUMIDITY("env.humidity", "湿度"),
	CLOUD("env.cloud", "云量"),
	RAIN("env.rain", "雨量"),
	ILLUMINANCE("env.illuminance", "日照"),

	;

	public final String name;
	public final String desc;

	Metrics(final String name, String desc) {
		this.name = name;
		this.desc = desc;
	}
}
